home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Apple Games Gallery 1
/
Your Apple Games Gallery (Side A)(MicroSPARC, Inc.)(1988).do
/
TITAN.CRONUS.bas
< prev
next >
Wrap
BASIC Source File
|
2021-12-11
|
3KB
|
55 lines
10 REM **********************
20 REM * TITAN CRONUS *
30 REM * BY WILLIAM PU *
40 REM * COPYRIGHT (C) 1985 *
50 REM * BY MICROSPARC, INC *
60 REM * CONCORD, MA 01742 *
70 REM **********************
80 CT = 25863:HS = 25900:SC = 25894
90 HOME : VTAB 12: INVERSE :A$ = " PROGRAM LOADING IN PROGRESS ": GOSUB 450: NORMAL : PRINT CHR$(4)"BLOAD CRONUS,A$8000"
100 PRINT CHR$(4)"BLOAD CRONUS.SHAPES,A$6A00"
110 PRINT CHR$(4)"BLOAD CRONUS.ALPHA,A$6000"
120 FOR I = 0 TO 2: POKE SC +I,0: POKE HS +I,0: NEXT : REM CLEAR SCORES
130 TEXT : HOME : GOSUB 480: GOSUB 510
140 A$ = "TITAN CRONUS ": PRINT : PRINT : INVERSE : GOSUB 450: NORMAL
150 PRINT :A$ = "BY WILLIAM PU": GOSUB 450
160 A$ = "DEDICATED TO YUK": GOSUB 450
170 A$ = "(C) 1985 BY MICROSPARC, INC.": GOSUB 450
180 PRINT :A$ = "CYCLOPS.....50": GOSUB 450
190 A$ = "CHIMERA....100": GOSUB 450
200 A$ = "ERINYES....500": GOSUB 450
210 A$ = "HALBERD....250": GOSUB 450
220 PRINT :A$ = "EXTRA SHIP AFTER EVERY LEVEL": GOSUB 450
230 PRINT : PRINT "PRESS '";: INVERSE : PRINT "K";: NORMAL : PRINT "' FOR KEYBOARD, '";: INVERSE : PRINT "P";: NORMAL : PRINT "' FOR PADDLES"
240 A$ = " 'A' FIRE <BUTTON> FIRE ": GOSUB 450: REM 2/3/11/3/1 SPACES
250 A$ = " <- LEFT <PDL(0)> MOVE ": GOSUB 450: REM 2/4/11/3/1 SPACES
260 A$ = " -> RIGHT ": GOSUB 450: REM 2/4/26 SPACES
270 PRINT TAB( 9)"PRESS '";: INVERSE : PRINT "Q";: NORMAL : PRINT "' TO EXIT GAME"
280 PRINT : PRINT "<ESC> HOLD GAME,<CTRL-K> SWITCH CONTROLS"
290 VTAB 23:A$ = "<CTRL-R> TO RESTART": GOSUB 450
300 VTAB 16: HTAB 26: GET A$
310 IF A$ = "Q" THEN TEXT : HOME : END
320 IF A$ = "K" THEN POKE CT,1: CALL 32768: GOTO 350
330 IF A$ = "P" THEN POKE CT,0: CALL 32768: GOTO 350
340 GOTO 300
350 FOR I = 2 TO 0 STEP -1: IF PEEK(SC +I) = PEEK(HS +I) THEN NEXT : GOTO 400
360 IF PEEK(SC +I) < = PEEK(HS +I) THEN 400
370 TEXT : HOME : VTAB 12:A$ = "CONGRATULATIONS!!!": GOSUB 450:A$ = "YOU GOT THE HIGH SCORE!": FOR I = 0 TO 2: POKE HS +I, PEEK(SC +I): NEXT
380 GOSUB 450
390 PRINT : PRINT : PRINT TAB( 10)"NEW ";: GOSUB 480
400 VTAB 21: HTAB 1: PRINT "PRESS <RETURN> OR BUTTON TO CONTINUE": POKE -16368,0: FOR I = 0 TO 1 STEP 0:I = ( PEEK( -16384) >127) +( PEEK( -16287) >127): NEXT
410 I1 = PEEK( -16384): IF I1 = 203 THEN A$ = "K": GOTO 320
420 IF I1 = 208 THEN A$ = "P": GOTO 330
430 IF PEEK( -16287) >127 THEN A$ = "P": GOTO 330
440 GOTO 130
450 A = LEN(A$)/2: IF A <19 THEN HTAB 20 -A
460 PRINT A$: RETURN
470 REM PRINT HI SCORE
480 PRINT "HI SCORE: ";: FOR I = HS +2 TO HS STEP -1:S = PEEK(I): GOSUB 530: NEXT
490 RETURN
500 REM PRINT SCORE
510 VTAB 1: HTAB 25: PRINT "SCORE: ";: FOR I = SC +2 TO SC STEP -1:S = PEEK(I): GOSUB 530: NEXT
520 RETURN
530 D1 = INT(S/16):D2 = S -16 *D1: REM SEPARATE INTO 2 NIBBLES
540 PRINT D1;D2;
550 RETURN